home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / sm.arc / SMUSERG2.DOC < prev    next >
Encoding:
Text File  |  1985-11-29  |  16.5 KB  |  361 lines

  1. AN ORIGINAL STOCK CHARTING SYSTEM                                 PAGE 1
  2.  
  3.                 WRITTEN BY: Charles L. Pack
  4.                             25303 La Loma Drive
  5.                             Los Altos Hills, CA. 94022
  6.                             Phone: (415) 949-0887
  7.  
  8. The purpose of this system is to draw and/or print volume-high-low-close
  9. bar charts for any stock.  Bonds, commodities, or other securities that
  10. have high-low-close prices, can also be charted.  Short- and long-term
  11. moving average lines can optionally be included on each chart.
  12.  
  13. Whenever a new stock is added to the system, the user may specify daily
  14. or weekly updating of price and volume data, and may also specify the
  15. number (up to 90) of days or weeks of data to be retained for that
  16. individual stock.  A double-sided diskette, formatted with DOS version
  17. 2, can hold 90 days or weeks of data for each of 110 different stocks.
  18.  
  19. Volume and high, low and closing prices are typed in by the user from
  20. data published in Barrons (for weekly updating) or the Wall Street
  21. Journal or other daily paper.  Short- and/or long-term moving average
  22. periods can optionally be specified or changed at will for each indiv-
  23. idual stock.  Moving averages can be computed and charted temporarily on
  24. a "what-if" basis, or stored permanently on diskette.  The system does
  25. not make buy/hold/sell recommendations.
  26.  
  27. Per-share annual earnings and dividends are maintained to permit compu-
  28. tation of the price/earnings ratio and yield for each stock.  Also, high
  29. and low estimated 5-year prices can be entered, to permit computation of
  30. total annual return.  This information may be obtained from Value Line
  31. or another advisory service.
  32.  
  33. The stock charting system, which contains several programs and associa-
  34. ted text files, is menu-driven, allowing the user to easily select all
  35. options without memorizing commands.  All menus have a "Help" function;
  36. when invoked by pressing the "H" key, the directions applicable to that
  37. part of the system will appear on the screen.
  38.  
  39. The hardware requirements are an IBM Personal Computer with at least
  40. 128K of memory and one floppy disk drive and/or a hard disk.  The stock
  41. charting system will operate with either the IBM monochrome or graphics
  42. adapter, or both, but the graphics adapter is required for drawing
  43. charts.  The system will run on some (but not all) "compatible"
  44. computers using DOS version 1 or 2. Stock charts may be printed on an
  45. Epson FX-80 or equivalent graphics printer.  The program modules are
  46. written in interpreted BASIC with embedded machine-language subroutines.
  47.  
  48. The stock charting system is "user-supported" software.  You are encour-
  49. aged to copy and share the programs.  If you are using these programs
  50. and find them to be of value, please send $25 directly to the author.
  51. (California residents please include appropriate sales tax.)  This will
  52. make you a registered owner, and you will be notified of later versions
  53. of this and other related software as it is released.  In addition, you
  54. will receive additional program documentation.
  55.  
  56. Suggestions and comments are welcome and may be addressed directly to
  57. the author.  No warranties, express or implied, are made by the author.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. AN ORIGINAL STOCK CHARTING SYSTEM                                 PAGE 2
  68.  
  69.    HOW TO GET THE STOCK CHARTING SYSTEM RUNNING, AS SOON AS POSSIBLE
  70.  
  71. The first and most important thing for you to do is to MAKE A BACKUP
  72. COPY.  I suggest you make a couple of working copies of the stock chart-
  73. ing system diskette and then put the master copy in a safe place other
  74. than where your computer is - such as a safe deposit box.  The next
  75. page has details on how to copy your disk if you don't know how.
  76.  
  77. Now you're ready to get the stock charting programs running.  Your
  78. diskette contains some sample data files which may be used to observe
  79. how things work.  The sample data files do not constitute recommenda-
  80. tions to buy, sell or hold any security.
  81.  
  82. Make sure your DOS diskette is in drive A (usually the left-hand drive
  83. if you have more than one) and the prompt A> is present.  The DOS disk-
  84. ette must contain the file BASICA.COM. You can enter the command DIR to
  85. look at all the names of files on drive A to see if BASICA.COM exists.
  86. Note: If you are using a "compatible" non-IBM computer and you can't
  87. find BASICA.COM, it may have another name such as GWBASIC.COM or just
  88. BASIC.COM.  If you are using an IBM computer, you want BASICA.COM and
  89. not BASIC.COM; the latter will not work correctly with the stock chart-
  90. ing system.
  91.  
  92. If you are using DOS version 2.x (where x is any digit), you also need
  93. a program called GRAPHICS which should be on your DOS diskette.  Type
  94. the command GRAPHICS and press the ENTER key.  This loads into memory
  95. the graphics program which is required for proper printing of stock
  96. charts.  If you have DOS version 1.1, skip this step; chart printing is
  97. done by the stock charting program itself.
  98.  
  99. Now type in the command BASICA and press the ENTER key.  (You don't have
  100. to type the .COM). After a few seconds, a copyright message will appear,
  101. followed by the prompt OK.  BASICA is the interpreter program which will
  102. interpret and execute all the instructions in the stock charting pro-
  103. grams.
  104.  
  105. Remove the DOS diskette from drive A:, and insert a working copy of the
  106. stock charting program diskette.  (Never use the original except to
  107. restore a working copy).  Now enter the following command, just as it
  108. appears:
  109.  
  110.                             RUN "SMADDEL2"
  111.  
  112. Note the double quote marks surrounding SMADDEL2. The space right after
  113. RUN is optional.  The ending quote mark can be left off and the command
  114. will still work.  Also, the command will work in lowercase (small)
  115. letters.  In just a moment, the initial screen for the stock charting
  116. system should appear!
  117.  
  118. Once the stock charting system is running, all instructions on how to
  119. operate it are available within the individual programs themselves (the
  120. system consists of several individual programs, each of which performs
  121. specific functions).  When the disk drive option screen comes up, select
  122. option C to use the sample files on the program disk.  Refer to the
  123. information on the screen.  Note that you can press the H (for Help) key
  124. to get instructions.
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. AN ORIGINAL STOCK CHARTING SYSTEM                                 PAGE 3
  134.  
  135.             HOW TO COPY THE STOCK CHARTING PROGRAM DISKETTE
  136.  
  137. There are two ways to copy a diskette: one using the DISKCOPY program;
  138. and the other using the COPY command.  The DISKCOPY program is a separ-
  139. ate program on your DOS diskette.  DISKCOPY copies the entire diskette
  140. all at once without regard to contents, and is fast.  COPY copies indi-
  141. vidual files one at a time and is slower, but it is a "resident" com-
  142. mand (it is in memory all the time) so you don't have to have your DOS
  143. diskette in the disk drive to run it.
  144.  
  145. There is a significant disadvantage with DISKCOPY.  Both the source and
  146. target diskettes must be the same number of sides.  Sometimes software
  147. is shipped on single-sided diskettes, but most people today use double-
  148. sided diskettes.  Therefore, for greatest reliability, you should make
  149. your first copy using the COPY command.  COPY can transfer files from
  150. one type of diskette to another (or to a hard disk).
  151.  
  152. First, make sure your DOS diskette is in drive A and you have the DOS
  153. prompt A>.  Insert in drive B a new diskette, or a diskette which does
  154. not contain any programs or data which you wish to keep.  Type the fol-
  155. lowing command: FORMAT B: and press ENTER.  WARNING: All data on the
  156. disk in drive B is about to be erased!
  157.  
  158. After the formatting is completed and you are back to the A> prompt,
  159. remove the DOS diskette from drive A and insert the original copy of the
  160. stock charting diskette in drive A.  Now type the following command and
  161. press the ENTER key:  COPY *.* B: /V   This will copy all files from the
  162. diskette in drive A to the diskette in drive B.  The two diskettes may
  163. have different numbers of sides and different recording densities.  The
  164. /V parameter causes the computer to read back and verify everything it
  165. writes.  The diskette in drive B now contains a working copy of the
  166. stock charting system.
  167.  
  168. Unless you are charting only a few stocks, you should keep stock
  169. charting data on a diskette separate from the stock charting programs.
  170. To do this, first format another blank diskette in drive B and then
  171. start the stock charting system.  When the setup screen (the screen that
  172. defines disk drive options) comes up, select option B and drive B for
  173. data.  The add/delete stocks program will then automatically recognize
  174. the empty diskette and prompt you for information about the first stock
  175. to be entered.
  176.  
  177. All of this information assumes you have two floppy disk drives, A and
  178. B.  If you have only one disk drive, or if you are using a hard disk
  179. drive, setup information is beyond the scope of this document.  There
  180. are so many different configurations of hard disk drives that it would
  181. take a very lengthy document to try to cover and explain most of them.
  182. The stock charting system will, however, support a hard disk drive.
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197. AN ORIGINAL STOCK CHARTING SYSTEM                                 PAGE 4
  198.  
  199.                           ABOUT THE DATA FILES
  200.  
  201. The data diskette for the stock charting system contains its own index
  202. file plus one file for each stock for which volume and prices are main-
  203. tained.  The maximum number of stocks for which data can be kept on one
  204. diskette is limited to 110 for a double-sided diskette; that number will
  205. be less if the diskette is formatted with DOS version 1, or if there are
  206. programs or other files on the same diskette.  On a single-sided disk-
  207. ette, the maximum number of stocks is limited to 62.
  208.  
  209. You can have data and programs on the same disk, or on different disks.
  210. This is determined by the disk drive option (setup) screen which comes
  211. up when the program is started.  That screen prompts you to choose
  212. option A, B or C.  Note that programs (with extension .BAS), the control
  213. file SMSETUP2.CTL, and the Help screens (with extensions HS1, HS2, HS3)
  214. must always reside on the system (default) drive.  This is usually drive
  215. A unless you are using a hard disk, in which case it is usually drive C.
  216.  
  217. If you have programs and data together on the same diskette or on a hard
  218. disk, choose option C.  If you are using a PC Jr. with only one disk
  219. drive, you can choose A or C.  Option A will expect programs and data on
  220. separate diskettes and will prompt you when to switch; that is more
  221. cumbersome but will allow more data.  If you have two floppy disk
  222. drives, choose option B with data on drive B.
  223.  
  224. In order to use a hard disk, the stock charting programs must first be
  225. installed on it.  The procedure to do this will vary widely with the
  226. individual installation and is beyond the scope of this document.
  227.  
  228. If you have two floppy disk drives and no hard disk, it is recommended
  229. to choose option B and have the programs on drive A and data on drive B.
  230. When you are prompted to enter the drive letter, type B and insert your
  231. data disk in drive B.  If you have no data disk yet, insert a freshly
  232. formatted blank diskette in drive B.  The program will recognize this,
  233. and will automatically prompt you to enter the name of the first stock.
  234. You can get more stock data on a blank diskette than you can get on your
  235. program diskette.
  236.  
  237. Each time the data for a stock is updated or changed, the associated
  238. files are over-written on the data diskette.  Therefore it is very im-
  239. portant to KEEP BACKUP COPIES!
  240.  
  241. I suggest the following diskette backup scheme: Use three diskettes and
  242. label the three envelopes C (for current, or child), F (for Father),
  243. and G (for Grandfather).  The envelope labelled C is of course the cur-
  244. rent, or working diskette.  When a copy of the current diskette is made,
  245. copy onto the Grandfather diskette, which then becomes the new Current
  246. diskette.  The old Current diskette becomes the new Father; the old
  247. Father becomes the new Grandfather.  The diskettes are simply switched
  248. in their envelopes.  The advantage to this scheme is that each diskette
  249. is always used in rotation so one diskette does not tend to wear out
  250. faster than the others.  Also, there are always three generations of
  251. data.
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263. AN ORIGINAL STOCK CHARTING SYSTEM                                 PAGE 5
  264.  
  265.              COPYING THE STOCK CHARTING SYSTEM FOR A FRIEND
  266.  
  267. If you wish to share the stock charting system with a friend, you are
  268. encouraged to do so, but please make a copy of THE ORIGINAL stock chart-
  269. ing program diskette, rather than any working copy which may have other
  270. programs on it.  The reason for this is to avoid infringement of the
  271. copyrights on the disk operating system, BASIC interpreter and other
  272. copyrighted programs.  Also, they might not work on someone else's
  273. machine, even though the stock charting programs might.  And, it is
  274. important that the recipient gets all of the modules in the system.
  275.  
  276.  
  277.              DESCRIPTION OF THE STOCK CHARTING SYSTEM FILES
  278.  
  279.   RELv_r     is the version/release number of the master diskette.  The
  280.              file itself has no purpose except to identify the diskette.
  281.  
  282. SMSETUP2.CTL is a control file which contains a program identifier plus
  283.              the drive letter for the drive which is to be used for data
  284.              files.
  285.  
  286. SMADDEL2.BAS is the add/delete/change program.  It creates and/or modi-
  287.              fies the index file, and initializes stock data files.
  288.              A separate stock data file is created for each stock (or
  289.              other security) for which data is to be maintained.  The
  290.              name of a stock data file is the stock symbol preceeded by
  291.              D or W (daily or weekly).  The extension is .SMP.  For ex-
  292.              ample, a weekly stock data file for IBM on drive B will
  293.              have the file specification B:WIBM.SMP.
  294.  
  295.              This program is the one to run when first starting the
  296.              stock charting system.  It also contains the setup screens
  297.              which determine individual disk drive configuration and
  298.              other parameters.
  299.  
  300. SMADDEL2.HS1 contains the initial Help screens for the stock charting
  301.              system.
  302.  
  303. SMADDEL2.HS2 contains the Help screens for SMADDEL2.BAS.
  304.  
  305. SMENTRY2.BAS is the data entry and bar graph program.  In this program,
  306.              volume and prices are entered, moving averages are compu-
  307.              ted, bar graphs are drawn and data is stored on disk.
  308.  
  309. SMENTRY2.HS1 contains the Help screens for SMENTRY2.BAS when in stock
  310.              select mode.
  311.  
  312. SMENTRY2.HS2 contains the Help screens for SMENTRY2.BAS when in data
  313.              entry mode.
  314.  
  315. SMENTRY2.HS3 contains the Help screens for SMENTRY2.BAS when in graphic
  316.              display/print mode.
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. AN ORIGINAL STOCK CHARTING SYSTEM                                 PAGE 6
  330.  
  331. INDEXFIL.SMX is the system index file.  It contains - for each stock for
  332.              which volume and price data are maintained - the name,
  333.              symbol, exchange, number of days/weeks of information, ear-
  334.              nings, dividends and price goals.  If this file is missing,
  335.              the system will automatically create it and ask for data on
  336.              the first stock.
  337.  
  338.     xxxx.SMP (where xxx is a stock symbol preceeded by D or W) - these
  339.              are the files which contain volume, prices and moving aver-
  340.              ages.  There is one of these files for each stock, plus a
  341.              corresponding entry in the index file.
  342.  
  343. All files with the extension .BAS are BASIC program files stored in an
  344. internal compressed format useable by the BASICA.COM interpreter pro-
  345. gram.  All files with the entension .HS1, .HS2, etc., are standard text
  346. files.  If required, all files with extensions .HS1, .HS2, etc., can be
  347. deleted if that disk space is needed for other things.  The consequence
  348. is that when the Help function is invoked, the message "Help screen not
  349. on program disk" will flash on the bottom line of the screen.  But the
  350. program is still working; just press any valid key to get rid of the
  351. message.
  352.  
  353.                 A NOTE FOR USERS OF THE CORONA COMPUTER
  354.  
  355. When a stock chart is drawn on the Corona computer, it will occupy only
  356. the upper left quarter of the screen.  This is because the Corona is not
  357. graphics-compatible with IBM (actually, the Corona has twice the resolu-
  358. tion both vertically and horizontally).  In order to get a correct stock
  359. chart, you will need to install an IBM-compatible graphics card and use
  360. a separate monitor with it.
  361.